package com.ruoyi.common.core.domain.e_checkingin;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 考勤记录对象 e_check_time
 * 
 * @author JYW
 * @date 2024-01-30
 */
@Data
public class ECheckTime extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long uId;

    /** 签到时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签到时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signInTime;

    /** 签退时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "签退时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date signOutTime;

    /** 签到状态（0：未签到，1：成功签到，2：迟到） */
    @Excel(name = "签到状态", readConverterExp = "0=：未签到，1：成功签到，2：迟到")
    private Long signInStatus;

    /** 签退状态（0：未签到，1：成功签到，2：迟到） */
    @Excel(name = "签退状态", readConverterExp = "0=：未签到，1：成功签到，2：迟到")
    private Long signOutStatus;

    private Integer isDispose;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setuId(Long uId) 
    {
        this.uId = uId;
    }

    public Long getuId() 
    {
        return uId;
    }
    public void setSignInTime(Date signInTime) 
    {
        this.signInTime = signInTime;
    }

    public Date getSignInTime() 
    {
        return signInTime;
    }
    public void setSignOutTime(Date signOutTime) 
    {
        this.signOutTime = signOutTime;
    }

    public Date getSignOutTime() 
    {
        return signOutTime;
    }
    public void setSignInStatus(Long signInStatus) 
    {
        this.signInStatus = signInStatus;
    }

    public Long getSignInStatus() 
    {
        return signInStatus;
    }
    public void setSignOutStatus(Long signOutStatus) 
    {
        this.signOutStatus = signOutStatus;
    }

    public Long getSignOutStatus() 
    {
        return signOutStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uId", getuId())
            .append("signInTime", getSignInTime())
            .append("signOutTime", getSignOutTime())
            .append("signInStatus", getSignInStatus())
            .append("signOutStatus", getSignOutStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
